package com.phoebe.auth.service;

import com.phoebe.auth.model.AuthAccessKey;
import com.phoebe.auth.model.AuthApp;

/**
 * @author: zhaojd1604@gmail.com
 * @date: 2019-01-04 14:54
 * @description: 授权应用及秘钥服务接口
 * @since: V0.0.1
 */
public interface AuthAccessService {

    AuthApp findByKey(String key);

    AuthAccessKey findByAppIdAndAccessKeyId(long appId, String accessKeyId);
}